home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / utilitys / 184 / arc521 / arcshell.doc < prev    next >
Encoding:
Text File  |  1988-08-14  |  18.9 KB  |  373 lines

  1.                      ARC Shell Documentation
  2.                           Version 1.97
  3.  
  4.                       By Charles F. Johnson
  5.  
  6.                   Last revision: August 14, 1988
  7.  
  8.  
  9. Part One - Introduction
  10.  
  11.      ARC Shell is a GEM program which is designed to work with the
  12. popular ST archiving utility ARC.TTP.  Essentially, ARC Shell adds a
  13. GEM interface to the ARC program, letting you point and click to
  14. select the various options instead of typing a command line.  (I
  15. don't know about you, but one of the main reasons I bought an ST was
  16. to get away from all that MS-DOS/Unix command line silliness.)
  17.  
  18.      ARC Shell also contains a complete GEM-based disk utilities
  19. package, that lets you copy files (with wildcards and with query),
  20. delete and rename files, create and delete folders, show the free
  21. space on any connected drive, and even run other programs...all
  22. without exiting to the desktop.  ARC Shell's current configuration
  23. can be saved at any point, so that the options and settings you use
  24. most often will be selected when you run the program.  In addition,
  25. you can use the ST desktop's "Install Application" feature to set
  26. things up so that ARC Shell will automatically run when you
  27. double-click on a file with an extension of ARC.
  28.  
  29.      This documentation will focus primarily on the operation of
  30. ARC Shell; it's not intended to teach you how to use ARC.  However,
  31. I've included the manual for version 5.20 of ARC in the archive which
  32. contains this file and the latest version of ARC Shell.  Refer to
  33. this manual if you have any questions about the ARC program itself,
  34. such as "What's the difference between Updating and Freshening?" or
  35. "What does Convert Archive do?"  The original version of ARC for the
  36. ST was version 5.12, ported by Harvey Johnson.  The most recent
  37. version is ARC 5.21, ported to the ST by Howard Chu.  Version 5.21 is
  38. available on Compuserve, Delphi, and GEnie, and on many local ST
  39. BBSes.
  40.  
  41.  
  42. Part Two - The usual shareware plea
  43.  
  44.      Versions 1.95 and above of ARC Shell are "shareware," which
  45. means that if you like and use my program I'd appreciate a
  46. contribution of $15.00 ... or more if you happen to be struck by a
  47. random philanthropic impulse.  I've been continually updating and
  48. improving ARC Shell since it was first written, and I think you'll be
  49. pleased with the result; letters with checks in them would please me
  50. equally!  If you think ARC Shell is worth at least $15.00, send a
  51. check to:
  52.  
  53.                Charles F. Johnson (ARC Shell)
  54.                P.O. Box 1250
  55.                Pacific Palisades, CA 90272
  56.  
  57.      And thanks for your support!
  58.  
  59.  
  60. Part Three - Using ARC Shell
  61.  
  62.      When you run ARC Shell, make sure you have the ARC program
  63. (ARC.TTP) in the same directory with ARCSH197.PRG.  The very first
  64. thing ARC Shell does is look in the current directory for ARC.TTP. 
  65. If a file with this name cannot be found, ARC Shell will show you a
  66. file selector asking, "Where is ARC.TTP?"  and you will be able to
  67. locate the ARC program with the file selector.  When ARC Shell finds
  68. the ARC program, it will then display a large dialog box, with
  69. buttons representing the available options.
  70.  
  71.                      What you're looking at.
  72.  
  73.      In the upper left of the main dialog box is a box containing
  74. buttons labeled "ADD to Archive," "EXTRACT from Arc," etc.  The
  75. buttons in this box are the main ARC commands; you'll notice that the
  76. default ARC command is "EXTRACT from Arc."  Only one of these buttons
  77. can be selected at a time - if you click on a button to select it,
  78. the previously selected button will be turned "off."  (These are
  79. known as "radio buttons.")
  80.  
  81.      To the right of the ARC command box is a box containing the
  82. ARC "flags."  The button labeled "Hold Screen" is selected by default
  83. when you first run ARC Shell.  The buttons in this box can be turned
  84. off and on individually; unlike radio buttons, more than one can be
  85. selected at a time.  The button labeled "Encrypt/Decrypt" is a
  86. special case; when you turn this button on, the code word entry line
  87. beneath it becomes active and the edit cursor (the thin vertical
  88. line) is placed on the entry line, allowing you to type in an
  89. encryption keyword.  The code word can be up to eight characters
  90. long.
  91.  
  92.      Directly underneath the ARC command box is a box containing
  93. buttons to let you select the device which will be used for LIST and
  94. VERBOSE LIST commands, and the drive for ARC and DATA files. The
  95. drive buttons can be operated in two ways; you can either type in the
  96. drive letter by hand, using the up and down arrows to move from one
  97. button to another, or use the mouse to click on the button.  If you
  98. click the button, a box with 16 buttons representing the 16 possible
  99. logical drives will pop up, allowing you to select the drive with the
  100. mouse.  Only active drives will be selectable in this box, and
  101. hitting Return will exit without changing the current drive.
  102.  
  103.      Finally, along the bottom of the main box are buttons labeled
  104. "Info," "ARC," "Disk," "Config," and "Exit."  The Info button will
  105. display a copyright message, and a gentle reminder to send in your
  106. shareware contribution.
  107.  
  108.                      OK, let's do something.
  109.  
  110.      When you've set all the options in the ARC Shell dialog box
  111. the way you want them, click on the "ARC" button to start things
  112. going.  NOTE: You may also double-click on any of the buttons in the
  113. ARC command box (Extract, Add, List, etc.) to execute that command
  114. immediately without the extra step of clicking the "ARC" button.
  115.  
  116.      Depending on which ARC command you've selected, what happens
  117. next will vary slightly.  In all cases however, the first thing ARC
  118. Shell will do is display a file selector to allow you to choose an
  119. ARC file.  If you're creating a new archive file with the ADD or MOVE
  120. commands, simply type in a name for the new file on the file
  121. selector's "Selection" line, and hit Return or click on OK.  If
  122. you're using any of the other commands (which all operate on
  123. previously-created archive files), click on the name of the ARC file
  124. you're working with and click OK.  The file selector's "Cancel"
  125. button always returns you to the main ARC Shell dialog box.
  126.  
  127.      The LIST, VERBOSE LIST, or TEST commands only take one
  128. parameter - the name of an ARC file - so they will be acted upon as
  129. soon as you exit the file selector.  Any of the other commands will
  130. now require a second parameter, the name of the DATA files on which
  131. you're operating.
  132.  
  133.      If you're ADDing files to an archive and you leave the
  134. "Selection" line in the DATA file selector blank, ARC Shell
  135. interprets this as "all files," and passes a search spec of *.* to
  136. the ARC program.  If you type in a name on the selection line or
  137. click on a filename, only that filename will be passed to ARC.  Also,
  138. when ADDing files, you will always return to the DATA file selector
  139. when ARC is finished adding a file or files, so that you can choose
  140. more files to add without having to select "ADD to Archive" every
  141. time.  You must click on the file selector's "Cancel" button to exit
  142. back to the main dialog box.
  143.  
  144.      If you leave the "Selection" line blank when you're EXTRACTing
  145. files from an archive, you'll be faced with the following choices
  146. about how to extract the files:
  147.  
  148.      ALL - Extracts all files from the archive into the
  149.      specified directory.
  150.  
  151.      To Folder - First creates a folder (a subdirectory)
  152.      with the same name as the archive file (minus the .ARC
  153.      extension) in the specified directory, then extracts all
  154.      files from the archive into the folder.  When the
  155.      operation is complete, you'll be given the chance to
  156.      delete the original ARC file.
  157.  
  158.      W/ Query - When you select the "Query" option, ARC Shell
  159.      reads through the entire ARC file and gets the name of
  160.      every file it contains, then displays all the names in a
  161.      large dialog box.  There is room in the box for 80
  162.      filenames; if an archive contains more than 80 files a
  163.      page indicator will become visible in the lower left of
  164.      the box and you can page forward and back to see the rest
  165.      of the filenames.  (The maximum is 720.)  The Query box
  166.      lets you mark individual files or groups of files for
  167.      extraction by clicking on them with the mouse.  You can
  168.      click and hold down the button while dragging the mouse to
  169.      select or deselect files, and double-click on any file to
  170.      select it in one step.  (Note: if you double-click on a
  171.      file when other files are selected, it begins the
  172.      extraction process for the entire group of selected
  173.      files.)  If you want to abort a multiple extraction after
  174.      the process has already started, press and hold down the
  175.      Alternate key.  (Another note: the Query box is also
  176.      available for the "Delete from ARC" and "Copy to StdOut"
  177.      commands.  Just choose "w/ Query from the alert box that
  178.      appears afters selecting either of these commands.)
  179.  
  180.      Cancel - Lets you change your mind and return to the
  181.      main ARC Shell dialog box.
  182.  
  183.      The "COPY to StdOut" command can be used to view text files
  184. contained within an archive without extracting them first.  When this
  185. command is selected, ARC Shell will display an alert box with the
  186. choices "ALL" and "w/ Query."  The Query option works in the same way
  187. as with the EXTRACT command; the filenames will be read from the
  188. archive, and you can choose which file(s) to view using the Query
  189. dialog box.  When you use "COPY to StdOut" to view text files, you
  190. can pause the scrolling by typing Control-S and resume by typing
  191. Control-Q.  The COPY operation can also be aborted at any time by
  192. typing Control-C.
  193.  
  194.      The LIST and VERBOSE LIST commands are used to display the
  195. files contained within an archive.  You can direct the output from
  196. the LIST commands to the screen, to the printer, or to an ASCII disk
  197. file by clicking on the buttons labeled "List Device" in the main ARC
  198. Shell dialog box.
  199.  
  200.      There are two buttons in the ARC Shell dialog box which are
  201. intended to be used only with ARC version 5.21; "Overwrite Existing
  202. Files" and "Squash."  Earlier versions of ARC will report an error if
  203. either of these two buttons are selected.  The buttons labeled
  204. "Crunch" and "Squash" are used to choose between two different types
  205. of data compression schemes used by ARC 5.21 -- only the "Crunch"
  206. option is supported by earlier versions.  So bear in mind that if you
  207. use the "Squash" method, people who don't have ARC 5.21 will be
  208. unable to extract those files.
  209.  
  210.  
  211. Part Four - The ARC Shell Disk Utilities
  212.  
  213.      To access the ARC Shell Disk Utilities, click on the button
  214. labeled "Disk" at the bottom of the main ARC Shell dialog box.  The
  215. Disk Utilities are a complete GEM-based file maintenance system - you
  216. won't have to exit ARC Shell to copy files, delete files, etc.  You
  217. can even use the ARC Shell Disk Utilities to run other programs.
  218.  
  219.      When you click on the "Copy File(s)" button, a file selector
  220. appears to let you choose the source file(s) for the copy.  You can
  221. use any combination of wildcards (? and *) on the 'Selection' line of
  222. the file selector to specify groups of files to be copied.  When you
  223. click the file selector's OK button, another file selector will
  224. appear to let you choose the destination directory for the copied
  225. file(s).  If the source filename contains no wildcards (in other
  226. words, you're copying a single file) the file will be copied right
  227. away.  If there are wildcard characters in the source filename,
  228. you'll be given a choice to copy "ALL" files or copy "w/ Query."  The
  229. Query option will prompt you whether or not to copy each file that
  230. matches the wildcard specification.  You can also delete groups of
  231. files by using wildcards in the same way.
  232.  
  233.      If the destination filename already exists when a copy
  234. operation is being performed, a box will appear with the warning
  235. "Name Conflict During Copy."  You can either click OK to write over
  236. the existing file or type in a new name for the copied file and hit
  237. Return.
  238.  
  239.      The "Run Program" command lets you execute a program from
  240. within ARC Shell, and return to ARC Shell when the program
  241. terminates.  If the program you choose to run has the extension .TTP
  242. (Tos Takes Parameters), a box will appear to let you enter a command
  243. line to pass to the program.
  244.  
  245.      The operation of the other disk commands should be fairly
  246. self-explanatory.  You can rename files, show the free space
  247. remaining on a disk, create and delete folders, and format a floppy
  248. disk.  The format command lets you use drive A or B, and formats
  249. either single or double sided.  No fancy format options here - you
  250. get the straight ahead standard format, 80 tracks, 9 sectors per
  251. track.
  252.  
  253.      At the bottom left of the Disk Utilities dialog is a box
  254. titled "Copy/Delete Prompts" containing buttons labeled "On" and
  255. "Off."  When this option is set to "Off," you'll get no warning when
  256. you delete a file or copy a file to an already existing name.
  257.  
  258.      The Exit button returns you to the main ARC Shell dialog box.
  259.  
  260.  
  261. Part Five - Configuring ARC Shell
  262.  
  263.      Clicking on the button labeled "Config" at the bottom of the
  264. ARC Shell dialog box will take you to the configuration screen.  This
  265. screen lets you specify a pathname for both a "default" ARC utility
  266. and an "alternate" ARC utility, and also set the directory to which
  267. ARC's numerous temporary files will be written (the latter option is
  268. only valid when ARC Shell is used with ARC 5.21).  You can save these
  269. options, as well as every other ARC Shell setting, with the button
  270. labeled "Save Configuration"; after you do this, ARC Shell will
  271. remember the settings the next time you run it.  
  272.  
  273.      The default ARC utility is the one which will be searched for
  274. when the program first runs.  If you haven't specified a default ARC
  275. utility, ARC Shell looks in the current directory for a file named
  276. ARC.TTP (see above).  However, using the Config option, you can set
  277. it so that ARC.TTP can be located anywhere when you run ARC Shell. 
  278. Click on the button labeled "Locate Default ARC Program" and use the
  279. file selector to specify a new file and pathname.
  280.  
  281.      Next, you can select an alternate ARC utility which can be
  282. enabled by clicking on the button labeled "Use Alternate."  To
  283. specify the pathname for the alternate ARC utility, click on the
  284. button labeled "Locate Alternate ARC Program" and use the file
  285. selector.  The purpose of the "Alternate" option is to allow you to
  286. switch easily between two different ARC programs; for example, some
  287. people prefer to use a shareware program called DCOPY (by Ralph
  288. Walden) to do their ARC operations because it's quite a bit faster
  289. than ARC.TTP.
  290.  
  291.      When ARC is adding files to an archive, it creates quite a few
  292. temporary work files on the disk.  With ARC Shell, you can choose to
  293. have these files written to either the ARC drive or the DATA drive,
  294. or to another directory altogether.  (Hint:  directing the temporary
  295. files to a RAMdisk can really speed up ARC, especially if you have a
  296. floppy-based system.)  When you click on the button labeled "Set
  297. Directory" a file selector lets you choose the directory for the
  298. temporary files.  (NOTE: this option is only valid when used with ARC
  299. 5.21.)
  300.  
  301.      There is one small difference in the way the two versions of
  302. ST ARC handle redirection to the printer.  ARC 5.12 uses the device
  303. name "PRT:" while ARC 5.21 uses "PRN:."  If you're going to be
  304. redirecting the output from the LIST commands to a printer, you
  305. should choose the appropriate "Printer Device Name" at the lower left
  306. of the Configuration box.
  307.  
  308.      When you have ARC Shell set up the way you want it (including
  309. all of the options in the main dialog box), you can click on the
  310. "Save Configuration" button to make this arrangement your new
  311. default....in other words, after saving your configuration, ARC Shell
  312. will always start out with your settings when you run it.
  313.  
  314.      Versions of ARC Shell prior to 1.96 saved their configuration
  315. data in a separate file called ARCSHELL.CNF.  This was changed in
  316. version 1.96; the configuration is now saved directly into the ARC
  317. Shell program file, which makes a separate data file unnecessary. 
  318. When you choose to "Save Configuration," ARC Shell will first look in
  319. the directory from which it ran for a file called ARCSH197.PRG.  If a
  320. file by this name is found, ARC Shell will attempt to write the new
  321. configuration data to this file.  If for some reason, a file by this
  322. name exists and is NOT the ARC Shell program, you will be warned and
  323. the configuration save can be retried or aborted.  If ARC Shell
  324. cannot find a file named ARCSH197.PRG (perhaps you changed the
  325. name?), you'll be given a chance to use a file selector to locate the
  326. program file no matter which name you've given it.
  327.  
  328.  
  329. Part Six - Installing ARC Shell as an Application
  330.  
  331.      Using the desktop's "Install Application" feature, you can set
  332. things up so that whenever you double-click on a file with the
  333. extension .ARC, ARC Shell will automatically load and run.  To do
  334. this from the desktop, click once on ARCSH197.PRG to select it, then
  335. move to the "Options" menu and select "Install Application."  In the
  336. box that appears, enter a document type of "ARC," and then click on
  337. the button labeled "Install."  (DON'T hit Return after entering the
  338. document type....Return will exit without installing!)  Now save your
  339. desktop, so this setting will be remembered the next time you boot
  340. up.
  341.  
  342.      If you double-click on an ARC file after ARC Shell has been
  343. "installed" in this way, a dialog box will appear showing the name of
  344. the ARC file you selected.  You can extract files from this archive,
  345. do a verbose list of its contents, or cancel the operation by
  346. clicking on one of the three buttons in the box.  If you choose to
  347. extract, you'll be given the same extract options as explained above
  348. in the section titled "Using ARC Shell."  When the extract or list
  349. operation is complete, you can either enter ARC Shell (to do some
  350. more archive maintenance) or quit back to the desktop.
  351.  
  352.  
  353.  
  354. *****************************************************
  355. *                                                   *
  356. *  This document and all versions of ARC Shell are  *
  357. *  Copyright 1987, 1988 Charles F. Johnson          *
  358. *  and Little Green Footballs Software.             *
  359. *  All Rights Reserved.                             *
  360. *                                                   *
  361. *  ARC Shell may NOT be sold.  It may, however, be  *
  362. *  freely distributed as long as this document is   *
  363. *  included and neither program nor document are    *
  364. *  altered in any way.  This document may not be    *
  365. *  reprinted without permission.                    *
  366. *                                                   *
  367. *  While every effort has been made to ensure that  *
  368. *  this program is free of bugs, I cannot be        *
  369. *  responsible for any damages or loss of data      *
  370. *  resulting from the use or misuse of ARC Shell.   *
  371. *                                                   *
  372. *****************************************************
  373.